home *** CD-ROM | disk | FTP | other *** search
/ Archive Magazine CD 1995 / Archive Magazine CD 1995.iso / discs / pipeline / abacus / p_line / Array3 / Array03a < prev    next >
Encoding:
Text File  |  1991-12-14  |  2.2 KB  |  264 lines

  1. %OP%VS4.11 (04-Dec-91), Gerald Lewis Fitton, R4000 5065 0380 9644 
  2. %OP%TNN
  3. %OP%WRN
  4. %OP%DP0
  5. %OP%IRN
  6. %OP%PL0
  7. %OP%HM0
  8. %OP%FM0
  9. %OP%BM0
  10. %OP%LM4
  11. %OP%FX
  12. %OP%FY
  13. %OP%FS
  14. %OP%PT1
  15. %OP%PDPipeLine
  16. %OP%WC2,1238,44,1544,0,0,0,0
  17. %CO:A,12,72%
  18. %R%Test Number =
  19.  
  20. %R%Candidate A
  21. %R%Candidate B
  22.  
  23.  
  24.  
  25.  
  26. Put Test Results
  27. into B12
  28. as Matrix01
  29.  
  30. Matrix01
  31. recovered
  32. from array
  33.  
  34.  
  35.  
  36. Matrix multiply the weighting matrix, matrix02 by
  37. the test results matrix, matrix01, to obtain the final scores
  38. for the candidates, A and B, under the schemes a, b and c.
  39.  
  40.  
  41.  
  42.  
  43.  
  44.  
  45.  
  46.  
  47.  
  48.  
  49.  
  50. As you might expect, candidate A does better than B under scheme 'a'
  51. but their positions are reversed under scheme 'b'.
  52.  
  53. You might like to try other test results and weighting schemes.  For 
  54. example, you might have students who do well in the sciences but badly 
  55. in humanities or perhaps you have employees who are skilled technicians
  56. but are not happy with paperwork.  Different grading schemes which 
  57. weigh sciences more heavily than humanities or which select for 
  58. promotion (or training) employees who are good at paperwork will give 
  59. different overall ranking to the students or employees.
  60. %CO:B,5,17%
  61. %V%%R%1
  62.  
  63. %V%%R%11
  64. %V%%R%19
  65.  
  66.  
  67.  
  68.  
  69.  
  70.  
  71. %V%%R%B4F5
  72.  
  73. %V%%R%set_value(B14F15,B12)
  74. %V%%R%19
  75.  
  76. %CO:C,5,6%
  77. %V%%R%2
  78.  
  79. %V%%R%13
  80. %V%%R%17
  81.  
  82.  
  83.  
  84.  
  85.  
  86.  
  87.  
  88.  
  89. %V%%R%13
  90. %V%%R%17
  91. %CO:D,5,0%
  92. %V%%R%3
  93.  
  94. %V%%R%15
  95. %V%%R%15
  96.  
  97.  
  98.  
  99.  
  100.  
  101.  
  102.  
  103.  
  104. %V%%R%15
  105. %V%%R%15
  106. %CO:E,5,0%
  107. %V%%R%4
  108.  
  109. %V%%R%17
  110. %V%%R%13
  111.  
  112.  
  113.  
  114.  
  115.  
  116.  
  117.  
  118.  
  119. %V%%R%17
  120. %V%%R%13
  121. %CO:F,5,0%
  122. %V%%R%5
  123.  
  124. %V%%R%19
  125. %V%%R%11
  126.  
  127.  
  128.  
  129.  
  130.  
  131.  
  132.  
  133.  
  134. %V%%R%19
  135. %V%%R%11
  136. %CO:G,20,35%
  137. %R%Weighting scheme
  138.  
  139. %R%Test 1
  140. %R%Test 2
  141. %R%Test 3
  142. %R%Test 4
  143. %R%Test 5
  144.  
  145.      Put Weightings
  146.      into H12
  147.      as Matrix02
  148.  
  149. %C%Matrix02
  150. %C% recovered
  151. %C%  from array
  152.  
  153.  
  154.  
  155.  
  156.  
  157.  
  158.  
  159. %R%Matrix01*Matrix02 =
  160.  
  161. Expand the matrix in B23
  162. to show all the results.
  163.  
  164. %R%Scheme =
  165.  
  166. %R%Candidate A
  167. %R%Candidate B
  168. %CO:H,5,5%
  169. %R%a
  170.  
  171. %V%%R%1
  172. %V%%R%2
  173. %V%%R%3
  174. %V%%R%4
  175. %V%%R%5
  176.  
  177.  
  178. %C% 
  179. %V%%R%H4J8
  180.  
  181. %V%%R%set_value(H14J18,H12)
  182. %V%%R%2
  183. %V%%R%3
  184. %V%%R%4
  185. %V%%R%5
  186.  
  187.  
  188.  
  189.  
  190.  
  191. %V%%R%m_mult(B12,H12)
  192.  
  193.  
  194.  
  195.  
  196. %R%a
  197.  
  198. %V%%R%set_value(H31J32,H24)
  199. %V%%R%205
  200. %CO:I,5,5%
  201. %R%b
  202.  
  203. %V%%R%5
  204. %V%%R%4
  205. %V%%R%3
  206. %V%%R%2
  207. %V%%R%1
  208.  
  209.  
  210.  
  211.  
  212.  
  213. %V%%R%5
  214. %V%%R%4
  215. %V%%R%3
  216. %V%%R%2
  217. %V%%R%1
  218.  
  219.  
  220.  
  221.  
  222.  
  223.  
  224.  
  225.  
  226.  
  227.  
  228. %R%b
  229.  
  230. %V%%R%205
  231. %V%%R%245
  232. %CO:J,5,5%
  233. %R%c
  234.  
  235. %V%%R%3
  236. %V%%R%3
  237. %V%%R%3
  238. %V%%R%3
  239. %V%%R%3
  240.  
  241.  
  242.  
  243.  
  244.  
  245. %V%%R%3
  246. %V%%R%3
  247. %V%%R%3
  248. %V%%R%3
  249. %V%%R%3
  250.  
  251.  
  252.  
  253.  
  254.  
  255.  
  256.  
  257.  
  258.  
  259.  
  260. %R%c
  261.  
  262. %V%%R%225
  263. %V%%R%225
  264.